Optimal. Leaf size=200 \[ -\frac {(b d-a e)^3 (d+e x)^6 \sqrt {a^2+2 a b x+b^2 x^2}}{6 e^4 (a+b x)}+\frac {3 b (b d-a e)^2 (d+e x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^4 (a+b x)}-\frac {3 b^2 (b d-a e) (d+e x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{8 e^4 (a+b x)}+\frac {b^3 (d+e x)^9 \sqrt {a^2+2 a b x+b^2 x^2}}{9 e^4 (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 200, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {660, 45}
\begin {gather*} -\frac {3 b^2 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^8 (b d-a e)}{8 e^4 (a+b x)}+\frac {3 b \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^7 (b d-a e)^2}{7 e^4 (a+b x)}-\frac {\sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^6 (b d-a e)^3}{6 e^4 (a+b x)}+\frac {b^3 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^9}{9 e^4 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 660
Rubi steps
\begin {align*} \int (d+e x)^5 \left (a^2+2 a b x+b^2 x^2\right )^{3/2} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (a b+b^2 x\right )^3 (d+e x)^5 \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (-\frac {b^3 (b d-a e)^3 (d+e x)^5}{e^3}+\frac {3 b^4 (b d-a e)^2 (d+e x)^6}{e^3}-\frac {3 b^5 (b d-a e) (d+e x)^7}{e^3}+\frac {b^6 (d+e x)^8}{e^3}\right ) \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=-\frac {(b d-a e)^3 (d+e x)^6 \sqrt {a^2+2 a b x+b^2 x^2}}{6 e^4 (a+b x)}+\frac {3 b (b d-a e)^2 (d+e x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^4 (a+b x)}-\frac {3 b^2 (b d-a e) (d+e x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{8 e^4 (a+b x)}+\frac {b^3 (d+e x)^9 \sqrt {a^2+2 a b x+b^2 x^2}}{9 e^4 (a+b x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 259, normalized size = 1.30 \begin {gather*} \frac {x \sqrt {(a+b x)^2} \left (84 a^3 \left (6 d^5+15 d^4 e x+20 d^3 e^2 x^2+15 d^2 e^3 x^3+6 d e^4 x^4+e^5 x^5\right )+36 a^2 b x \left (21 d^5+70 d^4 e x+105 d^3 e^2 x^2+84 d^2 e^3 x^3+35 d e^4 x^4+6 e^5 x^5\right )+9 a b^2 x^2 \left (56 d^5+210 d^4 e x+336 d^3 e^2 x^2+280 d^2 e^3 x^3+120 d e^4 x^4+21 e^5 x^5\right )+b^3 x^3 \left (126 d^5+504 d^4 e x+840 d^3 e^2 x^2+720 d^2 e^3 x^3+315 d e^4 x^4+56 e^5 x^5\right )\right )}{504 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(321\) vs.
\(2(148)=296\).
time = 0.64, size = 322, normalized size = 1.61
method | result | size |
gosper | \(\frac {x \left (56 b^{3} e^{5} x^{8}+189 x^{7} a \,b^{2} e^{5}+315 x^{7} b^{3} d \,e^{4}+216 x^{6} a^{2} b \,e^{5}+1080 x^{6} a \,b^{2} d \,e^{4}+720 x^{6} b^{3} d^{2} e^{3}+84 x^{5} a^{3} e^{5}+1260 x^{5} a^{2} b d \,e^{4}+2520 x^{5} a \,b^{2} d^{2} e^{3}+840 x^{5} b^{3} d^{3} e^{2}+504 a^{3} d \,e^{4} x^{4}+3024 a^{2} b \,d^{2} e^{3} x^{4}+3024 a \,b^{2} d^{3} e^{2} x^{4}+504 b^{3} d^{4} e \,x^{4}+1260 x^{3} a^{3} d^{2} e^{3}+3780 x^{3} a^{2} b \,d^{3} e^{2}+1890 x^{3} a \,b^{2} d^{4} e +126 x^{3} b^{3} d^{5}+1680 x^{2} a^{3} d^{3} e^{2}+2520 x^{2} a^{2} b \,d^{4} e +504 x^{2} a \,b^{2} d^{5}+1260 x \,a^{3} d^{4} e +756 x \,a^{2} b \,d^{5}+504 d^{5} a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{504 \left (b x +a \right )^{3}}\) | \(322\) |
default | \(\frac {x \left (56 b^{3} e^{5} x^{8}+189 x^{7} a \,b^{2} e^{5}+315 x^{7} b^{3} d \,e^{4}+216 x^{6} a^{2} b \,e^{5}+1080 x^{6} a \,b^{2} d \,e^{4}+720 x^{6} b^{3} d^{2} e^{3}+84 x^{5} a^{3} e^{5}+1260 x^{5} a^{2} b d \,e^{4}+2520 x^{5} a \,b^{2} d^{2} e^{3}+840 x^{5} b^{3} d^{3} e^{2}+504 a^{3} d \,e^{4} x^{4}+3024 a^{2} b \,d^{2} e^{3} x^{4}+3024 a \,b^{2} d^{3} e^{2} x^{4}+504 b^{3} d^{4} e \,x^{4}+1260 x^{3} a^{3} d^{2} e^{3}+3780 x^{3} a^{2} b \,d^{3} e^{2}+1890 x^{3} a \,b^{2} d^{4} e +126 x^{3} b^{3} d^{5}+1680 x^{2} a^{3} d^{3} e^{2}+2520 x^{2} a^{2} b \,d^{4} e +504 x^{2} a \,b^{2} d^{5}+1260 x \,a^{3} d^{4} e +756 x \,a^{2} b \,d^{5}+504 d^{5} a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{504 \left (b x +a \right )^{3}}\) | \(322\) |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, b^{3} e^{5} x^{9}}{9 b x +9 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (3 a \,b^{2} e^{5}+5 b^{3} d \,e^{4}\right ) x^{8}}{8 b x +8 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (3 a^{2} b \,e^{5}+15 a \,b^{2} d \,e^{4}+10 b^{3} d^{2} e^{3}\right ) x^{7}}{7 b x +7 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (a^{3} e^{5}+15 a^{2} b d \,e^{4}+30 a \,b^{2} d^{2} e^{3}+10 b^{3} d^{3} e^{2}\right ) x^{6}}{6 b x +6 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (5 d \,e^{4} a^{3}+30 a^{2} b \,d^{2} e^{3}+30 a \,b^{2} d^{3} e^{2}+5 b^{3} d^{4} e \right ) x^{5}}{5 b x +5 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (10 a^{3} d^{2} e^{3}+30 a^{2} b \,d^{3} e^{2}+15 a \,b^{2} d^{4} e +b^{3} d^{5}\right ) x^{4}}{4 b x +4 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (10 a^{3} d^{3} e^{2}+15 a^{2} b \,d^{4} e +3 a \,b^{2} d^{5}\right ) x^{3}}{3 b x +3 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (5 a^{3} d^{4} e +3 a^{2} b \,d^{5}\right ) x^{2}}{2 b x +2 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, d^{5} a^{3} x}{b x +a}\) | \(425\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 795 vs.
\(2 (151) = 302\).
time = 0.28, size = 795, normalized size = 3.98 \begin {gather*} \frac {1}{4} \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} d^{5} x - \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a d^{4} x e}{4 \, b} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a d^{5}}{4 \, b} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{2} d^{3} x e^{2}}{2 \, b^{2}} - \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{2} d^{4} e}{4 \, b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} x^{4} e^{5}}{9 \, b^{2}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} d x^{3} e^{4}}{8 \, b^{2}} - \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{3} d^{2} x e^{3}}{2 \, b^{3}} + \frac {10 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} d^{2} x^{2} e^{3}}{7 \, b^{2}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{3} d^{3} e^{2}}{2 \, b^{3}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} d^{3} x e^{2}}{3 \, b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} d^{4} e}{b^{2}} - \frac {13 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a x^{3} e^{5}}{72 \, b^{3}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{4} d x e^{4}}{4 \, b^{4}} - \frac {55 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a d x^{2} e^{4}}{56 \, b^{3}} - \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{4} d^{2} e^{3}}{2 \, b^{4}} - \frac {15 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a d^{2} x e^{3}}{7 \, b^{3}} - \frac {7 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a d^{3} e^{2}}{3 \, b^{3}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{5} x e^{5}}{4 \, b^{5}} + \frac {37 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{2} x^{2} e^{5}}{168 \, b^{4}} + \frac {5 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{5} d e^{4}}{4 \, b^{5}} + \frac {65 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{2} d x e^{4}}{56 \, b^{4}} + \frac {17 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{2} d^{2} e^{3}}{7 \, b^{4}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{6} e^{5}}{4 \, b^{6}} - \frac {121 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{3} x e^{5}}{504 \, b^{5}} - \frac {69 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{3} d e^{4}}{56 \, b^{5}} + \frac {125 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{4} e^{5}}{504 \, b^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.44, size = 278, normalized size = 1.39 \begin {gather*} \frac {1}{4} \, b^{3} d^{5} x^{4} + a b^{2} d^{5} x^{3} + \frac {3}{2} \, a^{2} b d^{5} x^{2} + a^{3} d^{5} x + \frac {1}{504} \, {\left (56 \, b^{3} x^{9} + 189 \, a b^{2} x^{8} + 216 \, a^{2} b x^{7} + 84 \, a^{3} x^{6}\right )} e^{5} + \frac {1}{56} \, {\left (35 \, b^{3} d x^{8} + 120 \, a b^{2} d x^{7} + 140 \, a^{2} b d x^{6} + 56 \, a^{3} d x^{5}\right )} e^{4} + \frac {1}{14} \, {\left (20 \, b^{3} d^{2} x^{7} + 70 \, a b^{2} d^{2} x^{6} + 84 \, a^{2} b d^{2} x^{5} + 35 \, a^{3} d^{2} x^{4}\right )} e^{3} + \frac {1}{6} \, {\left (10 \, b^{3} d^{3} x^{6} + 36 \, a b^{2} d^{3} x^{5} + 45 \, a^{2} b d^{3} x^{4} + 20 \, a^{3} d^{3} x^{3}\right )} e^{2} + \frac {1}{4} \, {\left (4 \, b^{3} d^{4} x^{5} + 15 \, a b^{2} d^{4} x^{4} + 20 \, a^{2} b d^{4} x^{3} + 10 \, a^{3} d^{4} x^{2}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d + e x\right )^{5} \left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 435 vs.
\(2 (151) = 302\).
time = 2.01, size = 435, normalized size = 2.18 \begin {gather*} \frac {1}{9} \, b^{3} x^{9} e^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {5}{8} \, b^{3} d x^{8} e^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {10}{7} \, b^{3} d^{2} x^{7} e^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {5}{3} \, b^{3} d^{3} x^{6} e^{2} \mathrm {sgn}\left (b x + a\right ) + b^{3} d^{4} x^{5} e \mathrm {sgn}\left (b x + a\right ) + \frac {1}{4} \, b^{3} d^{5} x^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{8} \, a b^{2} x^{8} e^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {15}{7} \, a b^{2} d x^{7} e^{4} \mathrm {sgn}\left (b x + a\right ) + 5 \, a b^{2} d^{2} x^{6} e^{3} \mathrm {sgn}\left (b x + a\right ) + 6 \, a b^{2} d^{3} x^{5} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {15}{4} \, a b^{2} d^{4} x^{4} e \mathrm {sgn}\left (b x + a\right ) + a b^{2} d^{5} x^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{7} \, a^{2} b x^{7} e^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {5}{2} \, a^{2} b d x^{6} e^{4} \mathrm {sgn}\left (b x + a\right ) + 6 \, a^{2} b d^{2} x^{5} e^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {15}{2} \, a^{2} b d^{3} x^{4} e^{2} \mathrm {sgn}\left (b x + a\right ) + 5 \, a^{2} b d^{4} x^{3} e \mathrm {sgn}\left (b x + a\right ) + \frac {3}{2} \, a^{2} b d^{5} x^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{6} \, a^{3} x^{6} e^{5} \mathrm {sgn}\left (b x + a\right ) + a^{3} d x^{5} e^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {5}{2} \, a^{3} d^{2} x^{4} e^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {10}{3} \, a^{3} d^{3} x^{3} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {5}{2} \, a^{3} d^{4} x^{2} e \mathrm {sgn}\left (b x + a\right ) + a^{3} d^{5} x \mathrm {sgn}\left (b x + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (d+e\,x\right )}^5\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________